//Copyright 2012 Trevin Liberty
//GNU GPL v3
//Author: Trevin Liberty
//
//Sprite that represents a tree.
//	ATTN: currently does NOT display any animation.
//		It looked really weird.

#ifndef TREE_H
#define TREE_H

#include "MovingSprite.h"

//See comment at top of file for a complete description
class Tree : public MovingSprite {
private:
	static Slide* bitmapsA;
	static Slide* bitmapsB;
	static Slide* bitmapsC;

	//1, 2, 3
	char type;

	void loadBitmap();

public:
	//Constructor
	//	PARAMS:
	//char type: 1 for typeA tree, 2 typeB, 3 typeC
	//	ATTN: Any other input for type will give undefined results.
	//Point<float> pos: The position of the tree.
	Tree(char type, Point<float> pos);

	void update();
	void draw(Point<float> camPos);

	void deleteImages();
};

#endif